#/***************************************************************************
#*   Copyright (C) 2011 by Chuck Gao & Alex Liu                             *
#*                                                                          *
#*   This program is free software: you can redistribute it and/or modify   *
#*   it under the terms of the GNU General Public License as published by   *
#*   the Free Software Foundation, either version 3 of the License, or      *
#*   (at your option) any later version.                                    *
#*                                                                          *
#*   This program is distributed in the hope that it will be useful,        *
#*   but WITHOUT ANY WARRANTY; without even the implied warranty of         *
#*   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
#*   GNU General Public License for more details.                           *
#*                                                                          *
#*   You should have received a copy of the GNU General Public License      *
#*   along with this program.  If not, see <http://www.gnu.org/licenses/>.  *
#*                                                                          *
#*   Contact author: chuckgao.cg@gmail.com                                  *
#*                   alex2202375@gmail.com                                  *
#***************************************************************************/

QT += sql declarative

# Add more folders to ship with the application, here
image_folder.source = Resources/Images
#folder_01.target =
qml_folder.source = Resources/QML
DEPLOYMENTFOLDERS = image_folder qml_folder

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# Allow network access on Symbian
symbian:TARGET.UID3 = 0xE6EE1D66
symbian {
    TARGET.CAPABILITY += NetworkServices

    vendorinfo = "%{\"Lazy Worms\"}" ":\"Lazy Worms\""
}

# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
# CONFIG += mobility
# MOBILITY +=

# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()

RESOURCES += Resources/cookingSrc.qrc

INCLUDEPATH += Headers/

#symbian {
#    load(data_caging_paths)
#    ICON = icon.svg
#    TARGET.UID3 = 0xed76025f
#    TARGET.CAPABILITY += UserEnvironment ReadDeviceData WriteDeviceData AllFiles SwEvent
#    TARGET.EPOCSTACKSIZE = 0x14000
#    TARGET.EPOCHEAPSIZE = 0x020000 0x5000000
#    contains(DEFINES, ORIENTATIONLOCK):LIBS += -lavkon -leikcore -lcone
#    contains(DEFINES, NETWORKACCESS):TARGET.CAPABILITY += NetworkServices
#    LIBS += -lspeechrecognitionutility.lib
#}

HEADERS += \
    Headers/cutility.h \
    Headers/cunittype.h \
    Headers/ctip.h \
    Headers/ctechnique.h \
    Headers/cshoppinglist.h \
    Headers/cregion.h \
    Headers/crecipemodel.h \
    Headers/crecipeingredient.h \
    Headers/crecipe.h \
    Headers/cobject.h \
    Headers/cnutritionconsume.h \
    Headers/cnutrition.h \
    Headers/cmodel.h \
    Headers/cmethod.h \
    Headers/cmealrecipe.h \
    Headers/cmeal.h \
    Headers/cingredientcategory.h \
    Headers/cingredient.h \
    Headers/cfoodtype.h \
    Headers/cflavour.h \
    Headers/cengine.h \
    Headers/cdishtype.h \
    Headers/ccuisinemodel.h \
    Headers/ccuisine.h \
    Headers/cconsumenutrition.h \
    Headers/cconstdefinition.h \
    Headers/ccuisinerecipe.h \
    Headers/crecipefilter.h \
    Headers/cingredientnutrition.h \
    Headers/clistitem.h \
    Headers/citemsource.h

SOURCES += \
    Sources/main.cpp \
    Sources/cutility.cpp \
    Sources/cunittype.cpp \
    Sources/ctip.cpp \
    Sources/ctechnique.cpp \
    Sources/cshoppinglist.cpp \
    Sources/cregion.cpp \
    Sources/crecipemodel.cpp \
    Sources/crecipeingredient.cpp \
    Sources/crecipe.cpp \
    Sources/cobject.cpp \
    Sources/cnutritionconsume.cpp \
    Sources/cnutrition.cpp \
    Sources/cmodel.cpp \
    Sources/cmethod.cpp \
    Sources/cmealrecipe.cpp \
    Sources/cmeal.cpp \
    Sources/cingredientcategory.cpp \
    Sources/cingredient.cpp \
    Sources/cfoodtype.cpp \
    Sources/cflavour.cpp \
    Sources/cengine.cpp \
    Sources/cdishtype.cpp \
    Sources/ccuisinemodel.cpp \
    Sources/ccuisine.cpp \
    Sources/cconsumenutrition.cpp \
    Sources/ccuisinerecipe.cpp \
    Sources/crecipefilter.cpp \
    Sources/cingredientnutrition.cpp \
    Sources/clistitem.cpp \
    Sources/citemsource.cpp


OTHER_FILES += \
    Resources/QML/Cooking/SplashScreen.qml \
    Resources/QML/Cooking/MenuGroup.qml \
    Resources/QML/Cooking/MenuBtn.qml \
    Resources/QML/Cooking/main.qml \
    Resources/QML/Cooking/CuisineSubView.qml \
    Resources/QML/Cooking/CookingMainMenu.qml \
    Resources/QML/Cooking/CookingItem.qml \
    Resources/QML/Cooking/CookingBasicWidget/StarRating.qml \
    Resources/QML/Cooking/CookingBasicWidget/PageNumber.qml \
    Resources/QML/Cooking/CookingBasicWidget/PageIndicator.qml \
    Resources/QML/Cooking/CuisineSubView/RecipeItem.qml \
    Resources/QML/Cooking/CuisineSubView/RecipeDetailedTabView.qml \
    Resources/QML/Cooking/CuisineSubView/NurtritionFacts.qml \
    Resources/QML/Cooking/CuisineSubView/Introduction.qml \
    Resources/QML/Cooking/CuisineSubView/IngredientList.qml \
    Resources/QML/Cooking/CuisineSubView/IngredientIntro.qml \
    Resources/QML/Cooking/CuisineSubView/CuisineSelectView.qml \
    Resources/QML/Cooking/CuisineSubView/CuisineItem.qml \
    Resources/QML/Cooking/CuisineSubView/CuisineDetailedView.qml \
    Resources/QML/Cooking/CuisineSubView/CountrySelectView.qml \
    Resources/QML/Cooking/CuisineSubView/CookingMethodBook.qml \
    Resources/QML/Cooking/Script/createSplashScreen.js \
    Resources/QML/Cooking/Script/createPageNum.js \
    Resources/QML/Cooking/Script/createCuisineSubView.js \
    Resources/QML/Cooking/Script/createCuisineDetailedView.js \
    Resources/QML/Cooking/Script/createPlanSubView.js \
    Resources/QML/Cooking/PlanSubView.qml \
    Resources/QML/Cooking/PlanSubView/RadialWaveEffect.qml \
    Resources/QML/Cooking/PlanSubView/PlanCalendar.qml \
    Resources/QML/Cooking/PlanSubView/DemonsView.qml \
    Resources/QML/Cooking/PlanSubView/PlanDayView.qml \
    Resources/QML/Cooking/PlanSubView/CalendarWidgets.qml \
    Resources/QML/Cooking/Script/createPlanDayView.js \
    Resources/QML/Cooking/CookingHelper/CookingHelperView.qml \
    Resources/QML/Cooking/CookingHelper/HelperQueryDialog.qml \
    qtc_packaging/debian_harmattan/rules \
    qtc_packaging/debian_harmattan/README \
    qtc_packaging/debian_harmattan/copyright \
    qtc_packaging/debian_harmattan/control \
    qtc_packaging/debian_harmattan/compat \
    qtc_packaging/debian_harmattan/changelog